IMPLEMENTATION OF GENETIC ALGORITHMS IN MATLAB