Added deselect all method in grid
Started making onclick function. Missing swap tiles call.