Independent Segregation of Chromosomes (clean up)

Cleaned up code, rewrote the process as a function, fixed spacing issues
(spaces vs tabs).  Algorithm and functionality remains the same.