Cell visibility algorithm

cells shown in hexagonal shape