Basic functions

complete build the basic functions as calculator