Added command-line option to run both serial and parallel implementations with the same input.