Adding bugs for debugging exercise back to the code