Second Commit HW #8

finished primary assignment, still need greedy algorithm