updating 18_1 solution checking to account for comments left in the main function