Andrew's submission

Had trouble fixing the command line arguments.