Added the -v option to print the version number.