Yet another rewrite of oonbotti, this time using scheme