Astar code added
Updated maz a bit