added image resize code with mocha testing
image file finding method added with tests