close window if finished

"FIRST SQUARES" programmed in BASIC 1981. Screenshot © by Tomay Hawk DUS 1983