Added rudimentary score calculation