Day 2 Homework solutions before test cases.