public static JFrame initWindow(){
        final JFrame jFrame = new JFrame("Cell view"){
            @Override            
            public void paint(Graphics g) {
                draw(g);
            }
            @Override
            public void update(Graphics g) {
                 draw(g);
            }
            
            private void draw(Graphics g) {                
                //Point3 p;
                g.setColor(Color.WHITE);
                g.fillRect(0, 0, getWidth(), getHeight());
                g.setColor(Color.GREEN);
                //Set<Being> set = Supervisor.getSupervisor().getBeings();
                Set<Point3> set = Supervisor.getSupervisor().getAlivePositions();
                for (Point3 p : set){
                    //System.out.print(p);
                    //if (being.isAlive()) {
//                        g.setColor(Color.GREEN);
                        g.fillRect((int) p.getX() - 2 + getWidth() / 2, (int) p.getY() - 2 + getHeight() / 2, 4, 4);
//                    } else {
//                        g.setColor(Color.RED);
//                        g.drawRect((int) p.getX() - 1 + getWidth() / 2, (int) p.getY() - 1 + getHeight() / 2, 2, 2);
//                    }
                }
                //System.out.println();
            }
        };
        jFrame.setSize(400,400);
        jFrame.setVisible(true);
        jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        return jFrame;
    }