C bit array structs and methods