Python code to create a terminal based typing speed tester.
The try except in the mistake function is added to prevent the accessing of the list beyond it's upper bound. The input list contains the list of strings from which one will be randomly selected.