MD2 assignment 1