Add queueEmpty and queueFree functions
First implementation of processes