added demo to nonrect_utils.py module