Modified the classes and added grid and numNeighbors.

Clean up stuff and created mutable arrays to handle the grid and
neighbors