common programming Interview questions (ruby)