Fun DSA challenge.
Create a data structure with the following operations:
init(n): Create, O(n)
set(i, b): Set the value at index ‘i’ to a Boolean value ‘b’, i < n, O(1)
get(i): Get the Boolean value at index ‘i’, i < n, O(1)
clear(): Set all values to ‘false’, O(1)