How To Find Greatest Perfect Square