Write recursive method which for a given integer n will return a list consisting of its digits.
n
For example, for n = 123 the result should be [1, 2, 3]
n = 123
[1, 2, 3]