def findStartPos(maze):
   """Returns the position of the start symbol in the grid."""
   for row in range(maze.getHeight()):
      for column in range(maze.getWidth()):
         if maze[row][column] == 'S':
            return(column, row)
   
   return(-1, -1)