Added check for comments at the beginning of file.
Switched to argparse for argument parsing.
Added a readme.