Add isValidMove and swap