failing case2
added the 3rd case to q4
adding last cases for q4
could not fix duplicacy in q4