Deepti's Memory Exercise to pass Travis

Modified Memory to pass Travis