Conway's Game of Life

N generations of up to 1000 alive elements
not optimized though, can implement quick sort and binary search for O(NlogN) complexity