reusable library

prints the years to an array in the log