Add error checking for invalid vehicle number
Remove \t in blank lines
Merge pull request #2 from liuml07/master

Trivial changes to avoid errors in case of invalid vehicle number