Added sub() and mult() to frac.cpp.