Draft 1 of greedy.c
PSET1 Final Submission