working on generating the nearest bot for each bots
merge -- updated object.js