thanks, i'll take a look.
I was going to do a flow chart, but then my tutor (the person who's marking it) said she 'hates' flowcharts!so I thought i'd better try another approach :)
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).