Design and Implementation of a new adaptive algorithm for Dynamic Bandwidth Allocation