template matching will soon work properly
assumption: template in the pyramid
correct assumption: a pyramid is composed of resized images(not templates)
x,y were switched. now we're making progress
code is messy but working almost perfectly