Added 'toList' helper, for extracting elements from the bit set