Added comments to nearly every line to show what they do or what the result will be