Fixed move so only valid moves can be made