added trees and graphs problems