a working simulation of chemotaxis