Advanced Programming - Excerice 6