added base class LeetcodeProblem for leetcode problems