Solution for doubleEveryOther. Adding doctests