EECS 268 Lab 2 (templates)