Chapter2: Test prog3 and command-line arguments