Added initial function to keep track of score. [refs #5]