ENH : bin_edeges helper function

Adds helper function + tests for generating bin edges from
any sub-set of the maximum, minimum, step, and number of bins.
oh that's nifty... I did not realize that you could do empty brackets if you only have one argument for the .format()