Create logarithm.cpp