Refactored a lot of code, fixed one of the greedy algorithms, made all values integers, and updated the display method.