Added a bit manipulation peripheral, for testing purposes, it needs changed to use generators