EasyGenetic: A template metaprogramming framework for genetic master-slave algorithms