added callback functionality to solve()
reset main section to previous commit
added gui
Merge pull request #1 from Janno/gui

GUI