Remington perfects the first commercial typewriter