Completed Instruction Get

Added in queue insert function and completed instruction get.