To AI and back - part 1

I wrote my first AI program in high school (around 2009-2010). I found a tutorial for writing a genetic algorithm to find a list of number that sum to a value (I think). It was written in C++, I knew only PHP, I didn&apos;t know any OOP, so