It will return the new string with center-aligned or equally padded on both ends using a specified character( or space by default).
#length - It is the total length of the string that needs to be returned
after filling specified character on both the end of actual string.
#fillchar - (Optional) It is specified character that need to be filled
on both the end of actual string. By default it is space