Finished assignment 3b.