two sum first attempt