Solution to Problem 29, needs documenting
Change to correct the issue with problem 95