Bug Fixes

Fixed multiple null pointers and finished (hopefully) I/O. Next steps,
work out bugs and finalize prim's before moving onto second algorithm.