Ruby solution for problem 1 with two solutions
Created javascript solution for problem 1. Uses proper namspacing, returns, good for loop
Refactored JS solution to use a decrementing counter, which is a hair faster