Fix typo.
Add more sample datasets.
Fix grammar.
Add NULL handling to getPaths.
Fix spacing for if-else.
Remove messages for NULL returns.