Run in turbo mode to speed up generation, I decided it would be easier to avoid custom blocks at this point in the tutorial. Use arrow keys to move the cursor. Press Q to break blocks. Press E to place blocks.
I'm working on a new version of my Easy 2D Minecraft tutorial, an in depth explanation of how to create this can be seen inside this project. Be careful not to accidentally move your cursor into the side of the screen, as that could cause any newly placed tiles to end up misalligned.