Chnaged the reset() function and asked for input to restart