updated exercises 12 and 13 from text-files