getNextSquare has a square pointer returning implementation commented out in board.cc