Added 5th problem and test cases