Debugging and Writing Clean Code