Update new.cpp
Merge pull request #7 from rlacombe1994/patch-8

Update new.cpp