Add check for the the correct code format
Add clang-format file as well as a CI check which checks if the code is properly formated accoe´rding to the code format rules. If the check has to change any code the code wasn't properly formated before and the check fails.