Added ability to pass program arguments to Initialize() function.
Fixed usage of optarg.
Include stdlib.h for NULL macro.
Fixed division by 0.