Added splice method to queue

Splice method allows to position a new task to a specific position in the queue to manage priorities on tasks