Started working on finding boundary nodes by using list of edges