committing ruby solution to problem 10