added another solution for problem 69