Programming Assignment 2 with comments - Attempt 6