School assignment: Analyze, refactor and add GUI to a simulation model by Dr. Jose Garrido