Added handling of -v for version output

Self-explanatory, I hope!