First commit with functions
Some comment changes
Grammer error correction in comments