15 add while loop for ruby