unfinished solution to lesson4prob2