added solution to leetcode_117