Implemented block complexity calculator. Added bit_from_byte to bit_manip utils