Added 1st unit test to test if words are correctly stored. Created IInputReader to decouple the user input from the console