Adding ruby solutions.