Fixed a typo in method name

The method on Python3 is `bit_length`, not `bitlength`.