path extraction working

path is now fully extracted and working. had issues confusing X and Y
co-ordinates