Added logic to check if player can move
Fixed logic error in movement
Have test case for movement check for player
Have test and logic for enemy movement check