Simple implementation of HashLife algorithm for Conway's game of life