First of all, please read this...
http://faq.javaranch.com/java/DoYourOwnHomework Second, you do know that if someone does do this for you, a moderator will remove it, right? Please take a shot at it. In the time that you took to make all those posts, you could have finished it by now.
Henry