added movePieceToAdjacent method, added tests for movePieceToAdjacent method as well