Implementation of the game of life (conway's game) with Qt