Created new function

Added dogYears function