Reworked path finding algorithm to find all paths in file.
Added ability to handle other shapes for the future.

Signed-off-by: Cruz Monrreal II <Cruz.Monrreal@gmail.com>