It makes sure that it never creates a chain of three or more
Swap conforms to the Hashable protocol
Compare two swaps
Fill up the level with new cookies and detect the possible swaps
Check if a cookie is a part of a chain
Detect possible swaps