Create RecordTree.java

For my reference, you are liable if you dare to take this code.