private static HashMap<String,BusStop> readBusStopInfo(Scanner input) throws Exception
   {
      String temp;
      int x, y;
      BusStop bs = null;
      HashMap<String,BusStop> busStops = new HashMap();
      
      temp = input.next();
      if (temp.compareTo("busstops") != 0) 
         throw new Exception(temp + " when busstops keyword is expected");
      while (!input.hasNext("line"))
      {   
         temp = input.next();
         x = input.nextInt();
         y = input.nextInt();
         if (temp.charAt(0) == '[' && temp.charAt(temp.length()-1) == ']')
         {
            temp = temp.substring(1,temp.length()-1);
            bs = new TimePoint(temp, x, y);
         }   
         else if (temp.charAt(0) != '[' && temp.charAt(temp.length()-1) != ']')
            bs = new BusStop(temp, x, y);
         else throw new Exception("Brackets do not match in " + temp);                           
         busStops.put(temp, bs);
      }  
      return busStops;
   }