added greedy.c
??