Unfortunately I'm unavailable until next week. I will opt out until then so someone else might help you. My regrets,
ok no problem
Did you still need this project completed? I am seeing due by Dec 4th, today is now the 5th. I am not familiar with Mars IDE but given an hour or two I can learn it. Here is the pseudo-code I came up with while looking over your documents.
The due was 4th. Thank you but its over