Modified coords to index conversion function to accept an extra parameter m which will be the multiples of an index
Made tests for PathFinder and Path object
PathFinder and Path object now passes all tests