Added left/right keys to the type program