private Vector[] getArray(){
        Vector res[] = new Vector[beings.size()];
        for (int i = 0; i < beings.size(); i++){
            res[i] = new Vector(beings.get(i).getX(), beings.get(i).getY(), beings.get(i));
        }
        return  res;
    }