added exercises 7, 9 and 9
initial commit