Bit Library Inspired by Standford: https://web.archive.org/web/20220204203827/https://web.stanford.edu/class/cs106a/handouts_w2021/reference-bit.html