Don't use any libraries like scikit learn. You should code the decision tree/random forest algorithm yourself. You can use numpy and pandas for simple computation and data IO if you wish. However, it is entirely possible to do this competition without any libraries.