#31 Improvements to the algorithm and addition of unit tests.
#31 Cleaned up and refactored the code.
Merge branch 'master' of https://github.com/lingolearn/lingolearn.git