Added AVL files. Added functions to the main file.