added clang-format and ran clang-format on source