added displayIteration that logs the current iteraion to the console as a string of '-' or '+' for each cell in the iteration