Final version 1.2

Now it works with negative numbers.