added a pause at the end of the main

I'm forcing a pause at the end of the main's execution, this makes it more convenient to run the exe from within another visual studio project