Minor: added return 0; in main() snippet.