Trying to remember how2scala by hacking on various toy problems.