add int2string
updated tester
sync grammar rules and trees
extract phrase pair and build tree