implemented auto complete
Merge pull request #1 from zhuliangg11/smallchange

implemented auto complete