See the notebook for all the code and explanations I've made it to level 20 so far The notebook (Click to view in browser!)