dovidu:
in the code i was expecting the stepper to move to 100, 200, 300, 400, 500 absolute positions, however, it doesn't work...
What does happen?
Modify your code to print a debug message between each move - for example Serial.println("Starting 200");
Post a link to the datasheet for your motor.
...R
Stepper Motor Basics