ECE-223, Solutions for Assignment #2