An implementation of basic mathamatical operations