added Move function in player