refactored the method to use dup instead of adding an empty array
added method to calculate commits for the current year
removed unused variable
added test for new streak method and it works yeah!!!!!!!!!!
refactored method to calculate commits for the current year
Merge pull request #1 from Adam89/master

refactored the method to use dup instead of adding an empty array