balanced binary working for ideal data set
working for less ideal values array
refactoring
Merge branch 'master' of github.com:deitrick/edx