Added maximization
Explain additions: doitall, in2.txt