hw2 calculator implement +parse to teacher