If you are at the coding part, then I assume you have tested and finalized your algorithm, and have prepared pseudo-code to the like. We will need to see what you have so far and get a clear...