add initial version of impartial.nb (same as old 2011 version, but with renamed functions)