SWAT, added round() to please the grader, fixed comments, TESTED, ACCEPTED