Third homework. Pushing up so that I would have a working version!