title: What is the use of hashable protocol in swift4?
body: <p>please explain the use of hashable protocol with implementation in swift.
  Apple defines hashable as “a type that provides an integer a hash value.” Okay, but what’s a hash value?</p>