added code for finding intersact node in two list and correct the loop logic
Merge pull request #7 from rahulroot/code-0.7

added code for finding intersact node in two list and correct the loop l...