Internal functionality of a hash map
Works on blocks (arraylist)
1. Hashing
2. Calculate Index
3. store the elements in the index
4. if the hashcodes are same , update the value
5. in case of hash collision , store the elements in the same block linked via linklist, if the size of the block exceeds, linklist will be automatically converted to RBT(from java 8 onwards)