What makes a good credit score? Here's how they work and which factors can impact your score.