Removed global availableCells variable

Took out the variable to hold all available cells and will just
calculate those available when needed.