Added some functions and initials

As I was testing out the code, I figured that it would be a lot easier if I added the following functions:
deal, addPlayer, getReverse, findCardIndex, changeTurn, cardsInDeck, noCardsInHand.

Nobody will likely have to deal with these as I only use them in the functions and code I work with.

Also added some initialization that was needed for some functions to work properly.