created Player class and wrote a test for the first few functions