Added B.java, which is a block-based util class.