-the compute algorithm put into a seperate function in HelperFunctions
- the compute function is now called in a loop, so cellular automaton
can run for a set number of iterations