Working on homework 4. May not finish this one.