Two sum

HashMap，some methods within