added solution to leetcode_81