Added string.lpad() and string.rpad(), and modified string.pad() to handle right-padding