commit of function shell for agecount function(Part 2 of programming assignment 4