Fixed code in debugging exercises