Exercise 4-2: Factory Pattern - NI Learning Center