refactor algorithm to clean up gemfile, specifications and make implementation code more expressive
Merge pull request #1 from rjewell2200/refactor/edit_work

clean up work