homework-5 (second commit)

Fully working version.