Implementation of Same Game using UICollectionViewLayout as the board layout