Create 29. two main functions for calculator