Mid Assignment 6. Working so far.