String strLine, strLine2;
while ((strLine = br.readLine()) != null) {
if((strLine.contains("<FOR>"))) {
beginIndex = strLine.indexOf(">")+1; endIndex = strLine.indexOf("<", 2);
vertexName = strLine.substring(beginIndex, endIndex);
vertex = graph.insertVertex(parent, vertexName, vertexName, x, y, 80, 30);
vertices[i][0] = vertexName; vertices[i][1] = vertex; i++;
x += 240; if(x>1600){y += 200; x= 20;}
while (((strLine2 = br.readLine()) != null) && (strLine2.contains("<GIVEN>"))) {
beginIndex = strLine2.indexOf(">")+1; endIndex = strLine2.indexOf("<", 2);
vertexName = strLine2.substring(beginIndex, endIndex);