Printing to console with var yearBorn