Implemented issue #4

Implemented the factorial method and linked the implementations in the
Math class
Implemented factorial

Implemented the factorial funciton