Adds Recursive and Dynamic Programs