AStarSearch should be functional and be used to calculate valid moves
Added charrange back to astar, have it check charRange as well, as intended originally