Don't follow the mini-tutorial too closely
At one point we convert it to an orthorhombic supercell in order to compute the transmission spectrum, but to calculation the band structure you must keep the structure hexagonal (without making a supercell).