Create try.cpp

This is my code in try.cpp.