You give us things we don't need: a due date, you give us some requirements and some code (unformatted), but you don't ask a specific answerable question, one that tells us where you're stuck...