Added Initial and Refactored Solution
require relative
Commented each method
Refactored solution added
testing
Initial solution and refactored solution
test code