Redstone compiler for Minecraft