added equals for point
making sure the correct pattern is returned