Adding some mathematical functions

I've added some mathematical functions 
fibonacci(n) : calculate the nth fibonacci term.
factorial(n) : calculate n!
oddEven(n) : test if a number is odd or even
prime(n) : test if a number is prime or not