Python Convert Integer To Binary Array