rewrote rhythm function to accommodate higher levels, adding hierarchical calculation and modularizing further. wrote a new function for making scalesteps for level one based on simple heuristics