add gene algorithm
Merge pull request #3 from morris821028/update1.1

add gene algorithm