ruby pre-course practice