Adding Ruby algorithm samples