Scale Game of Life to huge matrices | Applied Interview Question