A* search algorithm module in LPC