Fixed getPossibleMoves to return a null when there are no possibleMoves found