Updated instructions to be clear that 'prev' is actually a string in the Python version, not a char[]. Thanks to Jing and her anonymous student for the heads up.