genetic algo implemented

ready to be tested