Final Assignment 2

My homework solution.