added autocomplete function
Merge pull request #2 from nadavmatalon/autocomplete

added autocomplete function