New version of Thesis.pdf

Add Chapter III
Minor changes in previous chapters.
Minor changes in implementation.
All tests has been written.