Corrected getPixels method to produce bytes with bits in Little Endian order and to give nothing (empty list) when called with n=0 bytes