Are students allowed to write their own R code within the prediction challenge? One of my students knows some advanced computer science concepts, and wants to implement a loop to test out different variable values. The goal is to see if he can write an algorithm to find the most efficient values for variable choices he himself has already chosen.