Improved Leg class
Added genetic.py