Can only work if given the right parameters, (no safety)
closes #34 algorithm that creates a gcode from a path unittest for the algorithm