Moved a few sections around, and made sure the algorithms were formated nicely.