added rotateleft and rotateright functions (BROKEN, seg faults some of the time).

moved old main to "sample" function and new main just has a loop to run sample.

making this binary search tree program into a red-black tree or AVL type tree.  Not sure which, maybe both.