removed wrapper fn, made look fns closer to primitive fn, adjusted look
fn usage throughout codebase
algo works, just need to make it more concise w/ recursive fn
commented code in progress, doesn't work