Eighteenth commit

Fully commented code