Solved average() bug!
Part C added.
Merge pull request #1 from emcallaway/master

HW2 Merge!