Made code 1.6 compatible

Replaced system.lineSeperator with System.getProperty("line.separator")
Merge pull request #1 from Bakkes/master

Made code 1.6 compatible