edited queue.c and tested once more