def makeslice(seq):
    """
    Produces a sequence of array elements from a sequence of integers
    i.e. [1,2,3] yields [(1,2),(2,3)]
    Inputs
        seq:    array_like of integers
    Returns
        slices: array_like of tuples
    """
    tups = []
    for i in range(len(seq)-1):
        tups += [(seq[i+1],seq[i])]
    return tups