LRU cache implementation in Python

http://oj.leetcode.com/problems/lru-cache/