* Generates the nth Fibonacci number recursively. * @param int $n The position in the sequence (0-indexed). * @return int The nth Fibonacci number.