Assume that we are writing a function doSomething(word, k) which expects that parameter word is a nonempty string, and that parameter k is a nonnegative intger that has value no greater than the length of the given word. Give an implementation of such a function that rigorously checks that the parameters adhere to these expectations. (Once you've performed the parameter-checking, you don't need to do anything within the function body.) Alternative