So what's your question? And just so you know, will assist with homework but we won't write the code for you.

Regards,
Jim