Prioritizing Test Cases for Regression Testing