Finished BitPatternC.java