added division and multiplication
removed unnecesary dependency on functions.h