moved cell with neighbours generation to Cell class