game of life java project