Some utilities written by Devang Agrawal for the 3F5 Caches Lab