Two Sum: stupid method using double for loop