Code for graphics and metrics we worked together on in class