Stability fix

Empty lines in input file no longer crash the program
Merge pull request #2 from Portadiam/master

Stability fix