task 9, 11, 13, 14 from Conditionals and loops