Code is now immutable
Think I fixed all of the issues to make ranom_code  work except that +: Code, Loop and Loop, Code needs to be defined (loop isinstance code?)