Hw4 Code and Examples