Almost all working

The graph file is outputting a blank. It may be because of those weird
characters when writing in the first 3 or so spaces. Maybe writeChar
instead of writeBytes?