Hello
I will be happy to help.
The description of the problem is very clear. I believe I can have it done in 1-2 hours tops so way before your deadline.
Experience-wise I am a full time, 9-5 programmer for an international trading company based in Manchester, UK. I also write quite a lot code for students like you. Ex, I wrote a statistical analysis program (dice, cards, permutations and combinations) and a language lexer/parser in Python a few days ago for another student from the USA.
I am happy to provide samples.
Let me know if you are interested.
Best Regards
Martin