Very rough code for randomly generating a climbing route on a board. Written a few years ago when I knew nothing about how to structure code