Finished A*! Problem was my shitty heuristic function, a leftover of my hex utilities.