added slow but interesting solution to problem 3 using lazy sequences