sample use of selecting atoms based on pre-defined groups

This script will take a pre-defined group name as an argument, then either select those atoms if it is valid, or print all valid group names if it is not valid.