Problem 2 solved and bug in problem 3.

Martin participated!
Bug in problem 3 with filtered image in frequency cannot be used after
filtering.