QOD #7
Also to be written
Solution and comments