base code provided by edX
completed search project