Modified main.c, added a couple of header files for command line argument parsing and initializing the MPI environment. Also added a input pattern file for testing.