A test case is included to check the Running time