Play around with memory in reverse string exercise