implement trivial problem 22
add link + type signature for next problem