Add hash function in Point