# in this matrix there are combination of 0s and 1s which actually indicates that
# 0 are the free paths in the area
# 1 are the obstacles in the matrix or the area , it can be a tree or chair or table , it can be any obstacle .
# now our aim is to direct the pointer to move in the right direction with the minimum path and reach it ot the destination without any problem
# here we are representing a point instead of a real human for generating the appropriate algorithm for this stick
now in the Astar2.cpp file we actually applied the combination of A* and Dijstra's algorithm to find the shortest path throgh 0s
# here you just have to Input a Source co-ordinate and a Destination co-ordinate
# it will give output of the path it follow fo the destination
# for more info please check the code there are comment lines provided in every line
# if the person needs more than one coordinate to move
# if there are no path then we can't map for the specific person
# we will take a 2D matrix as input and we will compress the matrix according to the size of the person
# we did the column reduction and row reduction in this program
# for more details you can check the code
# first we included the obstacle.csv file
# then we compressed it and has taken the newly generated graph in a matrix
# then we applied the concept of Astar2.cpp but in this program we make the code much short as compare to the previous code
# and we also added 8 directions instead of 4 directions (we used 4 directions in Astar2.cpp)