Created DynArray generic class and implimented code into runtime.