added git ignore: swap and pyc files
Refactoring interface for splay tree. Reflected changes in files.