Implemented working log parsing for HW02 (part 1 of assignment)