Committed my code for the statistics calculator