start working on a* solver. current implementation isnt really a* (priority is always 0)