Added solution log for three test cases.