adds the sort code and the collatz code for codeiq