Most of the program is complete, and update_ghosts() works correctly. Now to handle command line arguments.