Adding backward compatibility for queue

Queue module was renamed to queue in python 3, backward compatibility for python 2 was missing for it in the library.