added 'score2' method which more functional (uses recursion internally)