excersises from ruby book