Comments

Added comments to code and adjusted format to make code the same on each
page