new function & code format

#new function: addSpaceBetweenNumAlpha
#some code format change.There seems to be some incompatibility with
how codes are formatted across Mac and PC.