CS 121: Programming Artificial Life Homework # 1.
Due on Tuesday, March 7th, right before class. You can submit your
work either by sending an email to jdavila@hampshire.edu, or by placing
your files into urza, in the hand-in folder of the cs121 account. You
must do this before the beginning of class. Do not come to class
expecting to have time to email it from the classroom, or place it into
urza from the classroom.
The task for the homework is very similar to the one we have been
working with in class. Your program needs to create a number of
RandomWalkers (how many if up to you) and place them into a list. You
will then choose a RandomWalker at random from that list, and
determine which other RandomWalker is the closest. Once you determine
which one that is, you will print its location, and its distance from
the first RandomWalker.
Keep in mind, when determining which RandomWalker is closest, that the
method needs to exclude the position for the one object for which it
was called, which obviously is always at a distance of zero form itself.