ScalaTest dependency
Tests for Word
Word moved to its own file
More concise and correct implementation of Word