correct bit length: word8 -> word16
add a utility function to view a bits as a bit array