Conways game of life in java with java swing integration