fixed silly bug
Made graphical interface