hw6
Code and output for project.