ADDED:MathUtil for permute operation;
CHANGED:SET features prototype changed to int type;
CHANGED:applied the builder setCards function;