Cons integer to list