Introducing first solution to problem 9