Player class is giving me seg fault. To be tested