Added a basic scoring algorithm and test