Scala implementation of red-black tree. School project.