Add Tree, Stack and function in Digital logic