Make strshift work for arrays of arbitary type

Make strshift work for arrays of any type (ints, chars, floats, ...)

~Phillip