Added Additional Comments

Added some more comments to make the whole program easier to understand.