Implement the transfer matrix algorithm to find the transmission probability of an arbitrary piecewise-constant scattering potential in 1-D. Demonstrate the code by showing the existence of resonance using a double-barrier potential. (Use 0.5nm barrier width, 1eV barrier height, 1nm barrier separation).