Create problem 41

Ugly, inefficient, yet effective.