scientist walking algorithm (AI!)