Maple Programs for Logic Design