Maybe ...
... you should direct that question
to your professor?
It's a homework assignment, obviously, and while all of us have done homework assignments in the past, we have done them
ourselves ... albeit sometimes
very late at night and at the eleventh hour.
And my point is just this:
the journey is the reward. Programming is just like swimming: you can't learn how to do it by asking someone else; you can't learn to do it just by watching.
You have to get in there and get wet. You have to feel like you're drowning ... but you don't.
And your professor is there to help you. That doesn't mean that he, she, or anyone will "do it for you," but when you're struggling ...
and you will struggle with this! ... he or she
needs to know. How many times have I looked a student in the eye, when s/he hands in an incomplete assignment, and asked him/her, "why didn't you call me about this
last week?"