Thread locked as a homework dump.
Read this post on getting help.
If you have a question, start a new thread and ask it.