add working distribute_evenly.py and test suite