style
better comments
style
less output
using c++11 lambdas
use C++11 lambdas
remove old code