updated bitwise.c so that it no longer involves the heap and now does everything on the stack