The Arduino source for this can be found on the ... of a larger goal to make a complete 3D printer based around these ‘DC motor stepper motors’ which we will watch with interest.
Getting a robot to stand on two wheels without tipping over involves a challenging dance with the laws of physics.
but getting an Arduino starter kit is more convenient. Most already come complete with the UNO board and a bunch of components like LEDs, a temperature sensor, a DC motor, a servo motor ...