HF RL Explorer

gym class bookings: fix bug

gym class bookings: fix bug: a task in smol-software-harbor (Harbor dataset). A member can book the same gym class twice and take two spots: book() in gym/booking.py only checks the waitlist for duplicates ( test double booking fails). Fix it and run python3 -m pytest -q .

The task

A member can book the same gym class twice and take two spots: `book()` in `gym/booking.py` only checks the waitlist for duplicates (`test_double_booking` fails). Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.