passing null tiles to board.getPathFromTo returns null