Group Challenges for 9/16/19

1. Consider the function that takes in a list and outputs a new list that consists of the reverse of the list with one more element at the end: the length of the original list. Create three copies this function that all do the same thing. Create one named function, create one function using the Function command, and create one unnamed function.

2. Below is the Mathematica input and output for someone hoping to create a function that takes as input an integer, then depending on whether the number is even, an odd prime, or an odd non-prime, outputs a different phrase.  How should the code be fixed to do the desired work?

checkItOut[{x_Integer}]:=
If[EvenQ[x],"I'm Even!",
PrimeQ[x],"I'm an odd Prime",
"I'm an odd non-Prime!"]
checkItOut[3]
checkItOut[10]