Indented. Add debugIO and linkedlist functions