Game of Life in command line written in Python