Shrawan : Just adding few more ticks in main method for better explanation.