Basic Ruby exercises