Add ability to set weight in generation
Added ability to create undirected and network graphs in gui
Intellij stuff and actually fix #27.