Bit bashing and bit manipulation stuff. * Background: https://en.wikipedia.org/wiki/Find_first_set * Tips: https://stackoverflow.com/a/47990/14878ff _ * http://graphics.stanford.edu/~seander/bithacks.html advanced tips