Code practice using the book "Machine Learning with R"