First draft of a PartialFunction puzzler

Suggested by @MasseGuillaume. Thanks, Guillaume!