FINALLY solution to problem 15 added