Return an array containing the values of the rightmost nodes at each level of a binary tree.
Output: [1, 3, 6, 11]