Design Hashmap Leetcode Solution Github Python Game