create random blocks

the code for random blocks seem to not appear, not sure why.