another pass on code style
Merge pull request #4 from mengxr/dtree

another pass on code style