bowling ruby need edge cases