backup -- trying to solve twosum