Adding error message on duplicate square