Tutorial 4 problem 1 solved