Game Of Life on python, very poorly implemented