Add bitops.h

ExtractBits, useful for extractig i-j bits from an integer