Added Comments

Added comments to explain some functions, added author