Sure. Should it be able to take an arbitrary brick or just use one specific brick?
EDIT: Herr, missed "...and a size parameter." Should it only accept square bricks, like a 2x2 or 3x3, or should it accept all bricks? Does it need to have bricks to make sure there are no world gaps, or should world gaps be allowed? If it accepts all bricks, how would rotation be defined?