A quick A* program I wrote, saving it here for future reference