sample buttion is added for indegree and outdegree

when the button clicks it will list the node set which has indegree or outdegree higher than others and display in console