question: private List addNodeToList ( int startIndexForNode , int endIndexForNode ) { List localvmList = new ArrayList ( ) ; for ( int i = startIndexForNode ; i < endIndexForNode ; i ++ ) { localvmList . add ( vm [ i ] ) ; } return localvmList ; }
target:  This function adds nodes to node list