addition control flow isssues
split equally case
Merge pull request #60 from algobunny/v3

V3 2