creating python queue