Some code to help you with WA-TOR

I have created the following demonstration to help you with problems you might have in the Wa-tor code.

You may look at as little or as much of this code as you want.

You may use this code in your final solution if you wish.

I put this code together quickly, so there may be errors, and flaws in the design, but it is a starting point.

Some specific notes