crappy pseudocode for itinerary generating algo

will be solidified soon!