Add lecture 4's head function
Add the convert function