added bitwise operations
Merge pull request #185 from pfalabella/bitwise-ops

migrated bitwise operations