Added Comments and functions for 2 & 3

I added comments on what is happening in 2.

Tried to get exercise 3 to play a results, haven’t figured it out yet.
Also tried to get it to return type errors for incorrect inputs