added algorithm for Nidoran