Update genetic_encoding.cpp
Merge pull request #2 from ee7git/patch-2

Update genetic_encoding.cpp