Solution by Franz A Gaisie-Essilfie to the programming assignment