Kth root , giving one testcase wrong