Homework on python course. Model describing ocean ecosystem.