String toUpperCase naive implementation