Path generation works

Also add a bezier function to be used whenever we care