public Graph randCreator(){
		int p = 0,q = 0;
		g = new Graph(true);
		g.addColumn("id", int.class);
		g.addColumn("value", String.class);
    	g.addColumn("source", String.class);
    	g.addColumn("Edgetype", String.class);
    	
    	//This loop is used to create the nodes of the random graph.
    	//We ensure same number of same type of nodes as in the given data.
		for(int i =0;i<1490;i++){
			Node hook = g.addNode();
			hook.set("id", i);
			if(p<732 && q <758){
				int n = rand.nextInt(1);
				hook.set("value",lol[n]);
				if(n == 0){
					p++;
				}
				else q++;
			}
			else if(p>731){
				hook.set("value", "0");
			}
			else{
				hook.set("value", "1");
			}
		}
		
		//This for loop creates edges between all the nodes of the random graph.
    	for(int j=0;j<19090;j++){
			int x = rand.nextInt(1490);
			int y = rand.nextInt(1490);
			int apple = g.addEdge(x, y);
			Edge abc = g.getEdge(apple);
	        String mango = (String) (g.getNode(x)).get("value");
	        String banana = (String) (g.getNode(y)).get("value");
	        abc.set("Edgetype", mango+banana );
	        abc.set("source", x);
		}
		return g;
	}