add function to clear or set any particular bit in int