Solution to the catvsdog programming problem at http://labs.spotify.com/puzzles/