implemented initial tile shuffling