Drastically improved speed(about 30x faster) of calculating_path function for building pathes for roads:
- Using sets instead of lists for opened_list and closed_list.
- Got rid of unnecessary G and F coefficients (they don't need when not using diagonal cell for path building).
- Cell now stores it's neighbours.