changes to rb tree
added main file to test