Some solutions to Ruby problems that I've encountered while working through tutorials