Adding fermat3 package with Mac OS support