Effect of boron impurity in a carbon nanotube superlattice