Reverse An Array Using Function