Well I'm finished now guys, thanks for all your help. I'm just wondering, is it possible to delete this thread or edit my posts, as it contains MY code and I don't want this available to anyone who may be doing the same coursework as me. I made the mistake of copying and pasting all of my code from my compiler when making a few posts. This means that my registration number and coursework title was included by mistake. I have since read the homework policy but I hadn't when I initally began making these posts. I'm now quite worried about having my work available to all and that it is clearly labelled as my work so there is no anonymity. I had originally made this thread with the intention of removing it after I had received my answers and finished my coursework, and while I'm now aware that this is against forum policy, I was not aware of this when I began posting (my own fault I know). I feel this thread is too specific to be any use to others anyway and I hope you can see fit to help me in this situation! I'm kind of new to the whole forum thing, don't really get it.