Python code for building words in Minecraft Pi edition