Create nameSearch.js

Basic name search engine. User gives text to be searched through and term to be searched.