HW3 for ECE551