Implement queue in ruby, add spec helper