working beautiful strings soln in rb