Determine whether points form squares | Purestorage