what does the "UL" means when specifying the clock speed for AVR MCUs
The "UL" means unsigned long.  The C/C++ language defines this and other type specifiers for integer literals.  See https://en.cppreference.com/w/cpp/language/integer_literal