added rpad and lpad padding commands (pad.cpp)