Restaurant assignment

My approach was not very efficient but worked. And I removed duplicate items for each restaurant by keeping the first item, which is not corrected as we discussed in class. I should use the most recent item but I don't know how to sort the list by time. I also tried to apply the faster parse way but I somehow failed..

Anyway, this is my version of the assignment.