game of life: fix inconsistencies of size

The idea is to interpret the size parameter as the window size when the
graphic mode is on or as the grid size when it's not. The zoom factor
aims at making patterns big enough when displayed through the graphic
mode.