public void start() {
        Integer newId = startID;
        do {
            int index = 0;
            for (int i = 0; i < nodes.size(); i++) {
                if (nodes.get(i).getId().equals(newId))
                {
                    index = i;
                    break;
                }
            }

            newId = nodes.get(index).execute();
        }
        while (newId != -1);
    }