def divide_word(word):
    """
    Divides a word, creating an array of 32 bits
    """
    res = []
    for i in range(32):
        b = (word & (1<<(31-i))) >> (31-i)
        assert(b==0 or b==1)
        res.append(b)
    return res