Ruby and JS solutions to coding challenges from coderbyte.com