Preparations for Genetic Algorithm