Introducing first solution to problem 12