added solution to leetcode_116