Created a queue class with implementation and interface