Need static path planner code

This is an additional work that has to be done for my friend.

So, why is there a deadline, and why does your project depend on completing non-related development for your friend?