code to use Singular's kernel commands via GAP's libsing