Make Point2D hashable

This allows it to be used as the key in HashMaps and HashSets.
Merge pull request #41 from mrobinson/hashable-point

Make Point2D hashable