closes #4 found a solution using Map.

Keep constant time access and even uses less memory.