upto now code is completed demo is working

code is completed upto now there are some things need to modify but for the demo code is fine
now indegree,outdegree,completedTriad,incompletedtriad,immediate cycles are working