adds function given by instructor
Merge branch 'master' of https://github.com/efferifick/image-processing