A short program that will print bit patterns according to input