Check if four points make square