Added getOppositeDirection() to Player and fixed temp testing method in Player which will be removed before submitting the assignment