Update How HashMap works in Java.md

update format