Wrong solutionperm.cpp fixed