Added two string functions

*Remove all whitespace from string
*Check if string has spaces.