modified to increase runtime efficiency, incorporated feedback, added additional comments, cleaned up unused functions
Merge branch 'master' of https://github.com/austinlin/snippet-search