Game Of Life written in python