String extension #1
extension String {
    mutating func trim() -> String{
        return self.trimmingCharacters(in: .whitespacesAndNewlines)
    }
}