Fixed add method, added set and InsertSort methods