added code to print Sparky's age to the console