modifies text
completed tasks
adds logic and tests for 3n+1 alg