A simple genetic algorithm example - MATLAB source