added greedy solver test case 4