LFU Cache - Leetcode 460 - Python