updated code for looping results
out put result of after looping results
Merge pull request #1 from tharindu99/master

updated with result looping and new result data