Mucking around with AI, not much success so far
doubling tests for Joshua's priority 1 squares working and passing
joshua can now recognise second priority sets
joshua can now count how many times a square appears in a set of sets