new line at end of file issue fixed

Fixes #14