improved code style consistency using clang-format (llvm style)