Send both files as attachments, not in the body of the message. You will only need to edit a single file, Vision.java . In the Vision Universe, Critters move around randomly, looking at what they're facing. They get no reinforcement from the world, and they do not interact with other Things in the world. As in real vision, objects which are closer to the Critter can obscure objects which are further away.
Critters have no depth perception.
The winning category unit is then selected, and learning takes place on the weights into that unit from the input units, effectively moving it closer to the input pattern. You also write this method. Four windows display what is happening. Each small outlined rectangle is a single category unit for one Critter. Each vertical strip in this rectangle represents four weights, corresponding to one pixel.