A function to compute ages

The code should be wrapped, prefferably at up to 80 lines to provision for non-wrapping displays.