I'm trying to write a programme which will implement the childish 'x loves y' game which is used to find the compatibility between two people.
Basically, you put down the two names as x and y. You see how many times the letter 'L' appears in the two names and that is your first digit. You do the same for 'O' and so on.
You end up with 5 numbers. You add the first and the second together and then the second and third and so on. These are all put on the next line and the process is repeated. If your addition ends up giving you a number greater than 9 you treat the two digits as 2 separate numbers.
Eg. 33221
6543
1197
21016
3117
428
610
71 %
Hopefully that makes sense.
I'm trying to test a hypothesis that a certain combination on numbers gives an infinite loop.