created the calculate points function
did some refactoring of the scoring
updated the points function to incorporate an error margin
minor tweaks
created simple test data