Given a string s and another string c, return a string with the characters 
surrounding any occurrence of c reversed. For example, if s is "Hello beautiful world" 
and c is a space, return 'Hellb oeautifuw lorld'. 
Skip matches where c occurs at the beginning or end of the string. You may assume that all occurrences of c are at least two characters apart.