Fixed issue #1

This is my first code in Python, so please have a good look at the code. Coarsely tested (I typically only insert a single relative move at the end of my slicer). Maybe we can create a testing branch on your repo?