ECE4564 Assignment2