Finished a general algorithm, not learning