Following NerdRanch Java book in Software Class.