Programming Assignment 4 template -- Evaluating algorithms.