A*, but too slow for larger maps