#259 generate result text
#259 add stream.close() and testcase
#259 add import and compile error
Add result mode.
Merge branch '259_release_match_result'
Add a feature to write result.txt file.