update solution, finished 79 problems in leetcode