You were asked whether this is homework and declined to respond. To reiterate:
Feel free to post a new thread regarding Ubuntu.While we are happy to serve as a resource for hints and for asking questions when you get stuck and need a little help, the Ubuntu Forums is not a homework service. Please do not post your homework assignments expecting someone else to do it for you. Any such threads will be taken offline and warnings or infractions may be issued.