That is far too simple to obtain good marks. Maybe make an RPG or a timetabling program. Yes they are complex but they will get you the marks. The teachers are far more concerned with the algorithms involved, not with what you can write in terma of 'witty explanations'.