updated some comments and made the layout of the program a little more
clear.