Small fixes to greedy file
small fixes to greedy problem