First attempt to calculate neighbours and set neighbours to 0 such that the code compiles
No more compile errors, factor calculations results in error so far