Re-added newlines for output

Also added .idea/ to gitignore