Refactored so that Land of Oz example is more like the GA and GP examples.
Added code for histograms.