Modeling the thermotaxis behavior of C.elegans based on the artificial neural network