the version that works

finish on creating a GUI and controller and modifying the model.