Returned first version of reverse() func.; all class members are public for successful testing.