starting to sovle problems in leetcode