This commit adds a generic type queue which is basically an implementation of a channel with an infinite buffer, so it should never block when sending to it.