Calculates dog years based on human years entered