public boolean addEdge(int srcval,int destval){
		Node src=new Node(srcval);
		Node dest=new Node(destval);
		if(!nodes.contains(src) || !nodes.contains(dest)){
			return false;
		}else{
			Edge temp=new Edge(dest);
			ArrayList<Edge> tmp=adjacenyList.get(src);
			if(tmp==null){
				tmp=new ArrayList<Edge>();
				adjacenyList.put(src,tmp);
			}
			tmp.add(temp);
			temp=new Edge(src);
			ArrayList<Edge> tmp1=adjacenyList.get(dest);
			if(tmp1==null){
				tmp1=new ArrayList<Edge>();
				adjacenyList.put(dest,tmp1);
			}
			tmp1.add(temp);
			return true;
		}
	}