Added queue data structure and tests