Python Int To Binary Array With Repeated