Added further methods to Dictionary.
Code organizing; coding style fixes.
Added the implementation of Splay trees.