Use conses instead of line and point classes for path finding
Remove remaining uses of line and point classes