Manually merged my algorithm with the GUI