Added attempt for problem 14. Currently does not give a consistent correct result.