Exercises 2 and 3: Creates working prefix calculator with support arithmetic functions