added basic functions to calculator