Finished greedy algo :) - CS50