added kata 04: reverse in place