added prefix free and squashed two bugs in the scoring system