added Path2d and started using numpy a bit