How Transistors Work - The Learning Circuit