Added misplaced tiles function.