make some corrections in comments. display the day of the week as output.