a printf was extended! also implemented strlen