Visual Basic Pattern Matching Leetcode 1504