I was playing around with an earlier program and found that it (if possible in a simplistic way) could lead to an easy solution.
Is it possible to shift the bits of a character array (without resorting to casting pieces of it to integers, iterating and keeping track of 'would be lost' bits) ?
If so, how ?