Conway's game of life (Java)