Starting to implement A*, need to make it work on the player side