Completed the program to take user input and wait till that time