Two Sum Python Function with Dictionary