Merge pull request #2 from snacsnoc/master

Add subroutine to generate spaces