Changed name of isChangingTile() method.
Added a helper static class for double equality issues.