Only element i will change in the new state vector. Then choose another unit at random and repeat the process. For a rough equivalent to ten synchronous cycles, try using 100 asynchronous updates. Re-initialize and repeat this procedure a few times. Play around with it.
Chances are it'll do pretty well.
Save the resulting connectivity matrix in a separate array. Then verify that the network can recall all three patterns. Again verify recall for all three patterns. Turn in answers to all questions, as well as printouts of your m-files and results.