added .editorconfig closes #35
reformatted code based on new .editorconfig