Update test.cpp

add main
Merge pull request #1 from mungco/nju

Update test.cpp
Merge pull request #1 from nandawys/master

main added