King's shield
Made bitmask functions package local
Better names
Better names
Added repetition tracking
Check for repetition in search