problem 5 solved
problems 6 & 7 solved