Fix bug in bestAvailableCell function.

The bestAvailableCell function was returning cell[0] if no cell has 2s adjacent to it. This commit fixes this issue by returning a random cell if this happens.