Implemented solution for CodeEval's Age Distribution challenge
https://www.codeeval.com/open_challenges/152/