Added return statement to ruby q1