method created for doubling an array
test passed. two methods created: doubling an array, turn symbol to string