Queue Calculator In Python Project