This is my latest code.
I thought that might be the issue Henry, however it doesn't seem to be that way.
To show... I ran the program and get these numbers:
83, 19, 30, 55, 7, 28, 49, 10, 15, 9, 32, 39, 74
The sum should be 450, however I receive a sum of 53144 from the program.