GUI combined with algorithm

Hnin's code was added to the GUI