Finished AVLTree and MoveToFrontList

includes comments, code is probably correct but havent tested it yet.