finished exercises 2 & 3 in basics