A game of life-implementation in java and ncurses