MAD project 2

Pseudocode