Update main_test2.cpp

amend : handle space between words