finalized Age function, fully integrated it, and added numerous comments to explain