Minor change to resize gameOfLife function