Potential users should be aware that running this script does clear the entire workspace without notice (and it do so twice!), so all your work will be lost.
This script serves no purpose other than being a programming exercise for the author, so why share it here?