Change the method `cross_correlation` to also take in an argument `padding`, which pads the image of the method by the number indicated on all sides before performing the cross correlation operation on the padded image. 