added method splay, and search but it doesn´t work yet, an infinity loop