Fix for #18 and added newline at end of reverse output
Merge pull request #19 from fredrike/master

Fix for #18 and added newline at end of reverse output