added greedy solver test case 3