Finished the Eller's algorithm, this was a tough one.