converted revbits to Python3

The revbits example has been successfully converted
to Python3.  It was necessary to use a bytearray()
type.