Update genetic_encoding.cpp