I saw this post about 3-4 times, and it's getting fairly annoying seeing this push out actual problems, as opposed to some middle/high-school HW...
I would help you, but since you've done a semi-good job of spamming (and the fact that it is your HW), I would advise you ask your teacher, as the point of the Alice course is to learn to program in Alice (and other programs), not to ask others to do it.
[/speech]