Programming languages. Completed (a, b, c, d) tasks from 2 assignment