added 2 rudimentary greedy algorithms