Presuming that this is related to
this question[
^] you asked earlier, the answer is pretty much the same as the answers you got to that question.
It seems that you're asking others to do your school work for you. You're going to have a hard time getting people to do that on this site.
Try to do what you're proposing, then come back with questions when you run into problems with your implementation and you'll be more likely to get help.