Assignment completed

Includes original code as well as documentation.