Added comments and 'average' variable

- Added some comments
- Created ‘average’ to hold the average amount of commits each day