in b4 midnight: implement bs ex1.5

actually resembles the crap in the 'solution' section, which is
terrifying. it's not finished.