add clang format to the repository
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..52efccd
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,9 @@
+---
+BasedOnStyle: Google
+IndentPPDirectives: BeforeHash
+IndentWidth: '4'
+PointerAlignment: Middle
+TabWidth: '4'
+UseTab: Never
+
+...
