Assignment 2 for architectures class