Added rather simple solution for problem 016