Comments

Added comments throughout for standard programming practices