Sorts program finished, working entirely. Needs comments still.