Fixing debugging exercises