Refactoring
Added a printer that prints the parsed blocks to a file for the graphical editor to parse