Design HashMap

Try to solve the Design HashMap problem.