Updated Player to include calculateNewPosition and added test for method