Command blocks are a particular block that you can obtain on creative mode and them allows you to make tons of differents things for example; make a tittle, create a custom mob, place and replace blocks, say something, cant tell all there is a lot of things you can do with them. In your case google "setblock" thats the command you´ll need to do that.