Genetic Algorithm code and ui improvement 3

The GUI for Genetic Algorithm illustration is now acceptable.  Animation
to do.
Code has also be refactored for the UI.