Implement more of Ole's suggestions.  More uses of std::vector.  Better
array creation and deletion.