add nn2.cpp
Merge branch 'master' of github.com:nop7/problems