Write code to perform the basic operations on individual bits of a number (rather than the entire number):
- setBit – Set a particular bit.
- resetBit – Reset a particular bit.
- toggleBit – Toggle a particular bit.
- getBit – return the value (0 or 1) stored at a particular bit position.