Collin's version of class assignment based on threadedJavaJourney from 4 Feb 2014