Logic done, need refactoring. Both cases passing. possibility of mutliples cases. Tested other cases from the Node app. Rspec adn Rake Test passing