Data Structure - Hash-Table implementation in Java