Edited block and aStar

I made changes!!! added parent to block