Refactored again to show intent of code in even clearer way
new red test with 2 number matches
green test with 2 number matches
Fixed stupid bug on loop to iterate through guess digits
new red test - order of marks not right
tests now green; order of marks fixed