What is a transistor?  What are the types of transistors?