Added method to check if a space is a neighbor to the currently selected piece.