Create a generator function to get neighbors coordinates.

Use it in has_impair_number_of_stars function.
Also create is_star function, for more readability.
Use the  tile_neighbors generator in ping

Also renamed the generator