Created functions for first four skill tests.
Added function for removing duplicates.
Created function for sorting words by length.
added comments.