Homework solutions for ECE3020