private void printOptions() {
            Scanner s = new Scanner(System.in);
            int option;
            System.out.println("\n \n");

            do {
                    System.out.println("Select one of the options: \n \n"); 
                    System.out.println("[1] Make a cell alive");
                    System.out.println("[2] Next generation");
                    System.out.println("[3] Undo");
                    System.out.println("[4] Redo");
                    System.out.println("[5] Halt");

                    System.out.print("\n \n Option: ");

                    option = parseOption(s.nextLine());
            }while(option == 0);

            switch(option) {
                    case MAKE_CELL_ALIVE : makeCellAlive(); break;
                    case NEXT_GENERATION : nextGeneration(); break;
                    case UNDO : undo(); break;
                    case REDO : redo(); break;
                    case HALT : halt();
            }
    }