Solved problem 45 and added functions within the Math module.