A simple HashMap written in Java