Player constructor has been created and it has a prototype to create a deck of cards.