Added one of many examples, partially used for demonstration and partially used for my own improvement (so I don't have a centralized main() method that I comment out every time I want to try something new.