Using gets instead of scanf to get whitespace