exercises part 1
remove unused var
implement myReverse