Update math.cpp

added division method to program