Hash Map implementation for demonstration purpose.