removed unused vars
new random method
removed bin
added call to random method
fixed null pointer bug
Merge branch 'master' of https://github.com/constantin-alecu/typeahead
modify