Add incomplete forth solution: function does the printing