attempt to get initial grid working

grid does not show evolutions, the sim is running but not showing
custom grid now working

- Now working with custom grids of any size.
- Cleaned up some code.
custom neighbourhoods nearly working

Taking a 2D array as a neighbourhood is working, right now it's a static
array but this means it will work with any cusotm array, although a
small bug is not allowing the simulation to run past a certain point,
not sure what the error is as the browser says there was an issue, but
glassfish does not spit out any error messages..
Merge conflict resolved for simulation.js