Write a function that takes two arrays which are already ordered (in ascending order) and creates a new ordered array by merging these two arrays. Use ONLY queue functions for numeric arrays ("enqueue" or "dequeue") to do this!
Note: In your code, you are not allowed to use any of the sorting algorithms studied in this class. You will not get any points if you use them for this question!
Example:
Input arrays:
x = [3, 4, 8, 10]
y = [2, 7, 15, 20]
Output array:
[2, 3, 4, 7, 8, 10, 15, 20]