added solution to leetcode_56