Fixed hw4 Bitwise

@rluk001 and I have added the additions to examples