Added globals.
Don't use size_t for .
Implement command line parsing.