Switch and counter optimization 

Switch might, in a blue moon, help with the speed of writing characters.
I am not sure if the counter "i" will help, the memory wont need to be dimension again.