CGRA252 Assignment 2