Update script to skip empty lines in input file

Previously the script would fail if an input file included empty lines.
This has been fixed by only parsing lines that contain characters other
than whitespace.
Merge pull request #7 from vmrob/patch-1

Update script to skip empty lines in input file