swapping and matching

swapping implemented, need to write code to check for matches on each of
the swapped blocks