Separate leetcode into different classes