add two procedure encode decode module Genetics