private void processFile(ArrayList<String> array)
    {
        for(String x: array)
        {
            String[] tokens = x.split(" ");
            int parkingSpot = Integer.parseInt(tokens[0]);
            String parkingType = tokens[1];
            int floor = Integer.parseInt(tokens[2]);
            String parkingNumber = tokens[3];
            String directions = tokens[4];
            ParkingSpot p = new ParkingSpot(parkingSpot, parkingType, 
                floor, parkingNumber, directions);
            
            if(garage.get(parkingType) != null)
                garage.get(parkingType).add(p);

            else
            {
                TreeSet<ParkingSpot> t = new TreeSet<ParkingSpot>();
                t.add(p);
                garage.put(parkingType, t);
            }
        }
        
    }