public static void main(String[] args)
   {
       // The bus stops with names BSi are meant to be regular bus stops for 
       // which time information is not displayed in the schedule.
       // The others are meant to be time points for which time information 
       // is printed in the schedule.
       // Note: (x,y) coordinates are not used in this project but will be
       // useful once we start incorporating graphics.   
       
       if (args.length != 1) 
       {
           System.out.println("Inputfilename expected as the commandline parameter");
           System.exit(1);
       }     

       try {
         ArrayList<Object> list = readBusstopAndLineInfo(args[0]);
         for(int i=0; i < list.size(); i++)
         {
            Object o = list.get(i);
            if (o instanceof Line)
            {
                ((Line)o).printRoute(System.out);
                ((Line)o).printSchedule(System.out);
            }   
         } 
           
       }
       catch(Exception e) { System.out.println(e); }  
   }