Genetic algorithm-with Bugs

//genetic algorithm. practice with bug-based search.
//each bugs has energy, and it will die so soon if it didn't eat bacteria.
//bugs have genes, and that genes have 6 vectors - straight go, 60 degree left, 60 degree right, straight back, 120 degree left, 120 degree right. 
//As time goes on, good genes survive - maybe pure Red or Blue bugs. 

//reference - evolutionary learning strategy using bug-based search, Hitoshi Iba, et al.