Object-oriented Game of Life implementation in Java