first version
implemente tree expression, and print it