Utility function to print the given binary string
static void printBinStr ( int [ ] str , int len ) { for ( int i = 0 ; i < len ; i ++ ) { System . out . print ( str [ i ] ) ; } System . out . println ( ) ; }