HashMap Traversing Method.