Add solution to Two Sum from Leetcode.