Fix for Issue #93: slaves file requires blank line at end (otherwise las...

I added the proposed workaround for issue #93. Moreover I added a check for empty lines in the slave file to NetworkTopology.java to prevent it from throwing an exception.