In the addFlare function, we are always taking test.jpg as input even though we pass differnt image/images as input.
As a result of that flares are always added with respective that on the image passed.
This would lead to wrong plotting of flares on images.