Add number-of-routes code
Add number-of-routes code
Add bit-swapping code
Add Mastermind scoring code
Some tidy-ups