':type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.'

def moveZeroes(self, nums):

    pos = 0
    for i in xrange(len(nums)):
        if nums[i]:
            (nums[i], nums[pos]) = (nums[pos], nums[i])
            pos += 1
