CS255 C Program Assignment 1 - Array and Bit manipulations in C