added solution to leetcode_97