Finished Driver function.
Implemented the remaining 3 memory strategies.