assignment 3 for dig3716c fall 2014