added loop for bit flipping
added basic fuzz testing functions - does not work