Arays-target sum pairs

test case 4 not passed
https://ide.codingblocks.com/s/52189

intialise j=i+1 instead of j=i.