Solved #5

The deepCopy function was created. All tests were passed successfully.