Updated randomized version of the DBS board (c code, not tested). 11/06/2014