Queue data structure implemented