Move phrase tree code into phrase_tree.go
Add flag in comparePhoneSeq