Create beacon_bits_query.py