Initial implementation of Issue #15 bitflipping