played around with the algorithm

my implementation of A* still doesn't reach the goal.